<?php namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;


class BusinessCircle extends Model {

	//
	protected $table = "business_circle";

	public function comment()
	{
		return $this->hasMany("App\Models\BusinessComment", "circle_id", "id")->orderBy("id", "desc");
	}

	public function profile()
	{
		return $this->hasOne("App\Models\UserProfile", "uid", "uid");
	}
}
